<?php
/**
 * Description of Messages
 *
 * @author Martin Grossmann <snake.aas@gmail.com>
 * @version 1.0
 * @package Expression package is undefined on line 12, column 15 in Templates/Scripting/PHPClass.php. 
 */
class Messages {
  
  public static function errorMessage($message) {    
    echo '<div class="ui-state-error messages">
            <span class="ui-icon ui-icon-alert" style="float: left; margin-right: 0.3em;"></span>'.$message.'
          </div>
          <div class="clear"></div>';
  }
  
  public static function stateMessage($message) {
    echo '<div class="ui-state-highlight messages">
            <span class="ui-icon ui-icon-info" style="float: left; margin-right: 0.3em;"></span>'.$message.'
          </div>
          <div class="clear"></div>';
  }


}

?>
